package com.book.service;

import com.book.pojo.ScoreRanking;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxy
 * @since 2023-10-13 14:50:19
 */
public interface ScoreRankingService extends IService<ScoreRanking> {

    List<ScoreRanking> ScoreRanking();

    void deleteByBookId(Long bookId);

    void add(Long bookId, Double scoreAvg);
}
